package com.auxgroup.bridge.business.inner.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Author: laiqiuhua.
 * @Date: 2017/8/14 15:14.
 */
@ApiModel
public class UserDeviceListVo {
    private String productKey;
    @ApiModelProperty("mac地址")
    private String mac;
    private String deviceId;
    private String did;
    @ApiModelProperty("设备sn码")
    private String sn;
    @ApiModelProperty("是否在线")
    private boolean isOnline;
    @ApiModelProperty("来源：0：旧设备，1：新设备")
    private int source;
    @ApiModelProperty("用户标签：0代表主人，1代表家人，2代表好友")
    private int userTag;

    public UserDeviceListVo() {}

    public UserDeviceListVo(String mac, String did, String sn, boolean isOnline, int userTag) {
        this.mac = mac;
        this.did = did;
        this.sn = sn;
        this.isOnline = isOnline;
        this.userTag = userTag;
    }

    public String getProductKey() {
        return productKey;
    }

    public void setProductKey(String productKey) {
        this.productKey = productKey;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public boolean isOnline() {
        return isOnline;
    }

    public void setOnline(boolean online) {
        isOnline = online;
    }

    public int getUserTag() {
        return userTag;
    }

    public void setUserTag(int userTag) {
        this.userTag = userTag;
    }

    public int getSource() {
        return source;
    }

    public void setSource(int source) {
        this.source = source;
    }
}
